/* test_panel.cc
* This file is part of ncursesxx library
* Copyright (c) 2003,2004 by Stanislav Ievlev
*
* This file is covered by the GNU Library General Public License,
* which should be included with libncursesxx as the file COPYING.
*/
#include <iostream>
#include <stdexcept>

#include <ncurses/application.hh>
#include <ncurses/color.hh>
#include <ncurses/pen.hh>
#include <ncurses/panel.hh>


int main()
{
	ncurses::application	app;

	//second panel
	ncurses::panel panel1;
	ncurses::panel panel2;
	
	panel1.show();
	panel2.show();
	
	panel1.top();
	panel2.top();
	
	std::cerr<<std::boolalpha<<(panel2>panel1)<<std::endl;

	panel1.top();
	std::cerr<<std::boolalpha<<(panel2>panel1)<<std::endl;

}

